﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GetPwd.aspx.cs" Inherits="GetPwd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   <title>重置用户密码</title>
  <link href="~/Styles/Style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .auto-style1 {
            text-align: center;
        }
        .auto-style2 {
            text-align: right;
        }
        .auto-style3 {
            background-color: #33CC33;
        }
    </style>
</head>
<body>
     <p>
        <br />
         <br />
    </p>
  <form id="form1" runat="server">
    <div class="auto-style1">
         <img src="image/logo.png" />
      <table style="border-collapse: collapse;" align="center">
        <tr>
          <td class="auto-style1" colspan="2">找回密码</td>
        </tr>
        <tr>
          <td class="auto-style2">用户名:</td>
          <td>
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
          </td>
          <td>
            <asp:RequiredFieldValidator ControlToValidate="txtName" Display="Dynamic" ForeColor="Red" ID="rfvName" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td class="auto-style2">新密码：</td>
          <td>
              <asp:TextBox ID="txtPwd" runat="server"></asp:TextBox>
          </td>
          <td>
            <asp:RequiredFieldValidator ControlToValidate="txtPwd" Display="Dynamic" ForeColor="Red" ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td class="auto-style2">验证码：</td>
          <td>
            <asp:TextBox ID="txtNum" runat="server"></asp:TextBox>
          </td>
            
          <td>
              <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="获取验证码" />
          </td>
            
        </tr>
        
        <tr>
          <td class="auto-style2" colspan="2">
            <asp:Button ID="btnResetPwd" runat="server" Text="密码重置" CssClass="auto-style3" OnClick="BtnResetPwd_Click" />
          </td> 
        </tr>
        <tr>
          <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="2">           
          </td>
            <td>
                <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
      </table>
    </div>
  </form>
</body>
</html>

